package com.engr.springbooteasypoi.design.factory.complex;

public class AbstractClient {

    public static void main(String[] args) {
        CarFactory carFactory = new X5Factory();
        carFactory.createBreak().brake();
        carFactory.createTire().tire();
        carFactory.createEngine().engine();
    }
}
